// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

Item{
    property alias text: textarea.text
    property alias bold: textarea.font.bold
    Rectangle {
        id: rect_content
        radius: 15
        color: "white"
        anchors.fill: parent
    }
        Text {
            id: textarea
            anchors.rightMargin: 5
            anchors.bottomMargin: 5
            anchors.leftMargin: 5
            anchors.topMargin: 5
            anchors.fill: rect_content
            font.pixelSize: 16
            font.bold: true
            wrapMode: Text.WordWrap
        }
        MouseArea{
            anchors.fill: parent
            onClicked: console.debug(textarea.height)
        }
}

